package cn.tedu.boyou.common.query;

import cn.tedu.boyou.common.util.CommendCondition;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class SightReviewQuery extends QueryObject {

    private Long SightId = -1L;

    private int startype=-1;

    private CommendCondition starnum;

    public CommendCondition getStarnum(){
        return CommendCondition.COMMEND_STAR.get(startype);
    }
}
